<!--<a href="javascript:void(0);" onclick="LoadRSDoc('radnici.php?a=alarms','setContent')" style="display:block; float:left; margin:0px 0px 5px 0px; padding:4px 2px 2px 24px; border:none; background-image:url(gui/icons/alarm.gif); background-repeat:no-repeat; background-position:0px 0px;">Učitaj ponovo</a>-->
<form action="javascript:void(0)" onsubmit="submitForm(this,'radnici.php','POST','setContent')">
	<input type="hidden" name="a" value="alarms" />
	
	<label for="start_date" class="left">OD:</label>
	<input type="text" class="dateInput" name="start_date" id="start_date" value="{{$start_date}}" />
	<input type="button" class="datePicker" onclick="displayDatePicker('start_date',this)" />
	
	<label for="end_date" class="left" style="margin-left:10px;">DO:</label>
	<input type="text" class="dateInput" name="end_date" id="end_date" value="{{$end_date}}" />
	<input type="button" class="datePicker" onclick="displayDatePicker('end_date',this)" />
	
	<input type="submit" value="filter" style="margin-left:20px" />
</form>
<br clear="all" />
<div class="area">
	<h1>Rodjendani</h1>
	
	{{$comment_rodj_start}}
	<table>
		<tr class="head">
			<td>datum</td>
			<td>radnik</td>
			<td>godina</td>
		</tr>
		{{%loop start rodj_id}}
		<tr>
			<td>{{$rodj_date}}</td>
			<td>{{$rodj_ime}}&nbsp;{{$rodj_prezime}}</td>
			<td align="right">{{$rodj_year}}</td>
		{{%loop end}}
		</tr>
	</table>
	{{$comment_rodj_end}}
</div>
<div class="area" style="margin-left:2px;">
	<h1>Ugovori</h1>
	{{$comment_ugo_start}}
	<table>
		<tr class="head">
			<td>datum istek</td>
			<td>datum početak</td>
			<td>radnik</td>
		</tr>
		{{%loop start ugo_id}}
		<tr>
			<td>{{$ugo_end}}</td>
			<td>{{$ugo_start}}</td>
			<td>{{$ugo_ime}}&nbsp;{{$ugo_prezime}}</td>
		</tr>
		{{%loop end}}
	</ol>
	{{$comment_ugo_end}}
</div>